//
//  AirplaneInfo.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-5-26.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "TBXML.h"

@interface AirplaneInfo : NSObject
{
    int _airplaneId;
    int _airplaneBig;
    int _airplaneMid;
    int _airplaneSmall;
    int _level;
    int _groupId;
    NSString* _name;
    int _flag;
    int _gold;
    int _buyGold;
    int _sellGold;
    int _airplaneNeedVolume;
    
    int _shield;
    int _shieldElectricityResistance;
    int _shieldBombResistance;
    int _shieldKineticResistance;
    int _armoured;
    int _armouredElectricityResistance;
    int _armouredBombResistance;
    int _armouredKineticResistance;
    
    int _hp;
    int _field;
    int _speed;
    float _accelerated;
    int _steeringForce;
    int _type;
    
    int _param1;
    int _param2;
    int _param3;
    int _param4;
    float _param5;
    int _param6;
    int _param7;
    int _param8;
    
    int _actionId;
    NSString* _icon;
    int _model;
    NSString* _description;
    NSString* _BGDescription;
}

@property (readwrite) int airplaneId;//舰载机id	
@property (readwrite) int airplaneBig;//舰载机大类	
@property (readwrite) int airplaneMid;//舰载机中类	
@property (readwrite) int airplaneSmall;//舰载机细类	
@property (readwrite) int level;//科技等级	
@property (readwrite) int groupId;//小组编号	
@property (readwrite, retain) NSString* name;//舰载机名	
@property (readwrite) int flag;//舰载机标志	
@property (readwrite) int equipFlag;//装备标志	
@property (readwrite) int gold;//金币	
@property (readwrite) int buyGold;//买入军费	
@property (readwrite) int sellGold;//卖出军费	
@property (readwrite) int airplaneNeedVolume;//舰载机需求挂仓容量	

@property (readwrite) int shield;//舰船护盾	
@property (readwrite) int shieldElectricityResistance;//护盾电抗	
@property (readwrite) int shieldBombResistance;//护盾爆抗	
@property (readwrite) int shieldKineticResistance;//护盾动抗	
@property (readwrite) int armoured;//舰船装甲	
@property (readwrite) int armouredElectricityResistance;//装甲电抗	
@property (readwrite) int armouredBombResistance;//装甲爆抗	
@property (readwrite) int armouredKineticResistance;//装甲动抗	

@property (readwrite) int hp;//舰船结构	
@property (readwrite) int field;//舰船视野	
@property (readwrite) int speed;//舰船速度	
@property (readwrite) float accelerated;//加速力	
@property (readwrite) int steeringForce;//转向力	
@property (readwrite) int type;//类型	

@property (readwrite) int param1;//参数1功能	
@property (readwrite) int param2;//参数2功能	
@property (readwrite) int param3;//参数3功能	
@property (readwrite) int param4;//参数4功能	
@property (readwrite) float param5;//参数5功能	
@property (readwrite) int param6;//参数6功能	
@property (readwrite) int param7;//参数7功能	
@property (readwrite) int param8;//参数8功能	

@property (readwrite) int actionId;//舰载机AI脚本
@property (readwrite, retain) NSString* icon;//图标	
@property (readwrite) int model;//模型	
@property (readwrite, retain) NSString* description;//说明	
@property (readwrite, retain) NSString* BGDescription;//舰载机背景		


+(id) infoWithTbxml:(TBXMLElement *)tbxml;
-(id) initWithTbxml:(TBXMLElement *)tbxml;
@end
